﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using T2_5_28_Demo.Models;

namespace T2_5_28_Demo.Controllers
{
    public class IndexController : Controller
    {
        // GET: Index
        public ActionResult Index()
        {
            Students students=new Students();
            students.Name = "小明";
            students.Age = 22;
            students.City = "China";
            ViewBag.ceshi = students;
            ViewData["ceshi"] = students;
            TempData["ceshi"] = students;
            //测试嗡嗡嗡
            return View();
        }

        public ActionResult Demo()
        {

            return View();
        }
    }
}